<html>
<head>
<title>Ex3</title>
<script>
function myFunction()
{
	document.getElementById("demo").innerHTML="Hello Thiha!";
}

</script>
</head>

<body>
<h2>Exercise 3</h2>
<p id="demo">A paragraph</p>
<button type="button" onclick="myFunction()">Click here</button>
</body>

</html>